/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package domain.taskManagement.models;

import java.util.Date;

/**
 *
 * @author peterfrem
 */
public class Task {
    private int id;
    private String title;
    private String description;
    private Date createdDate;
    private Date dueDate;
    private int priority;
    
    public Task(int id, String title, String description, Date createdDate, Date dueDate, int priority){
	this.id = id;
	this.title = title;
	this.description = description;
	this.createdDate = createdDate;
	this.dueDate = dueDate;
	this.priority = priority;
    }

    /**
     * @return the id
     */
    public int getId() {
	return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id) {
	this.id = id;
    }

    /**
     * @return the title
     */
    public String getTitle() {
	return title;
    }

    /**
     * @param title the title to set
     */
    public void setTitle(String title) {
	this.title = title;
    }

    /**
     * @return the description
     */
    public String getDescription() {
	return description;
    }

    /**
     * @param description the description to set
     */
    public void setDescription(String description) {
	this.description = description;
    }

    /**
     * @return the createDate
     */
    public Date getCreatedDate() {
	return createdDate;
    }

    /**
     * @param createDate the createDate to set
     */
    public void setCreatedDate(Date createDate) {
	this.createdDate = createDate;
    }

    /**
     * @return the dueDate
     */
    public Date getDueDate() {
	return dueDate;
    }

    /**
     * @param dueDate the dueDate to set
     */
    public void setDueDate(Date dueDate) {
	this.dueDate = dueDate;
    }

    /**
     * @return the priority
     */
    public int getPriority() {
	return priority;
    }

    /**
     * @param priority the priority to set
     */
    public void setPriority(int priority) {
	this.priority = priority;
    }
    
}
